package pers.mihao.quickstream.common.task.scheduler.isolated;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Bean;

/**
 * 单机版任务调度（集群版参考quartz）
 * <a href="https://www.w3cschool.cn/quartz_doc/quartz_doc-1xbu2clr.html">...</a>
 *
 * @author mihao
 * @since 2024/11/18
 */
@Slf4j
public class IsolatedAutomaticTaskScheduler {

    @Bean(initMethod = "start")
    AutomaticTaskScheduler automaticTaskScheduler() {
        return new AutomaticTaskScheduler();
    }


}
